STEP 1: Let's start by setting up our experiment. We'll use a standard 6-sided number cube.

  • In GRAPHICS click on . Drag out Set Background Color.
  • Change the color string in .set_background_color() from "blue" to "green".
  • Click on . Drag out Dice 1.
  • Run your code, then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)